<template>
  <div id="app">
    <div style="width: 90%; height: 500px;" id="myMap"></div>
  </div>
</template>

<script>
import {lazyTMapApiLoaderInstance} from './components/MyMap/util/TMapInit'

export default {
  name: 'App',
  created() {
    lazyTMapApiLoaderInstance.then(() => {
      this.map = new TMap.Map('myMap', {
        center: new TMap.LatLng(39.909, 116.397),
        zoom: 11,
        pitch: 0
      })
    })
  },
  data() {
    return {
      map: null
    }
  },
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
